package mcsm.OperationCenter.InterfaceCenter;

import java.util.ArrayList;
import mcsm.Model.*;

public interface SaleFunction {
	public void createSaleUnit(String cashierID);

	public double setVIP(String VIPID);

	public boolean addGoods(String goodsID, int amount);

	public boolean deleteGoods(int index);

	public boolean changeGoodsQuantity(int index, int amount);

	public double getTotalPrice();

	public double getTotalTicketGot();

	public double getVIPTicket();

	public double payment(double cash, double ticketUsed);

	public ArrayList<Goods> getGiftList();

	public ArrayList<Goods> getGoodsList();

	public void endSale();

}
